package com.molihub.service.impl;

import com.molihub.entity.HomePage;
import com.molihub.service.HomePageService;
import org.springframework.stereotype.Service;

/**
 * @ClassName: HomePageServiceImpl
 * @Description: TODO
 * @author: GGBOY
 * @date 2020/2/6 15:42
 * @Version: 1.0
 **/
@Service
public class HomePageServiceImpl extends BaseService implements HomePageService {
    @Override
    public Integer addRecord(HomePage homePage) {
        return homePageMapper.addRecord(homePage);
    }

    @Override
    public Integer updateRecord(HomePage updatePage) {
        return homePageMapper.updateRecord(updatePage);
    }

    @Override
    public HomePage findPageById(Integer userId) {
        return homePageMapper.findPageById(userId);
    }
}
